package com.sinosoft.dsp.platform.components.portal.input;

import com.sinosoft.builder.templates.concept.SearchForm;
import com.sinosoft.dsp.platform.components.IViewBean;
import com.sinosoft.dsp.platform.exception.SinoPlatformException;

/**
 * 查询表单ViewBean接口
 * 
 * @author 潘巍（PeterPan）
 * @since 2011-6-18 下午03:22:31
 * 
 */
public interface ISinoSearchFormViewBean extends IViewBean {

	public void initMeta(String meta) throws SinoPlatformException;

	public SearchForm getMeta();

	public SinoDefaultSearchBean[] getSearchs() throws SinoPlatformException;

	/**
	 * 刷新查询条件
	 * 
	 * @param id
	 */
	public void flushSearchs(String id);

	/**
	 * 刷新按钮
	 * 
	 * @param id
	 */
	public void flushButtons(String id);

	/**
	 * 改变查询条件的显示状态
	 * 
	 * @param id
	 * @param display
	 */
	public void changeTagDisplayState(String id, boolean display);

}
